package com.travel.server.manager.dto.response.question;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018\11\15 0015 22:01
 * @Desc:
 */
@Data
public class QueryQuestionListResponse {

    @JSONField(name = "total_num")
    private Integer totalNum;

    @JSONField(name = "question_list")
    private List<QuestionItem> questionList;

    @Data
    public static class QuestionItem{
        private Integer id;

        private String name;

        private String title;

        private String describe;

        @JSONField(name = "create_time", format = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;
    }
}
